package StudyCode.summary.mycollection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class GetSynchronizedListFromArrayList {
	public static void main(String[] args) {

		ArrayList arrayList = new ArrayList();
		List list = Collections.synchronizedList(arrayList);
		System.out.println("从 ArrayList 获取的同步List:" + list);
	}
}
